<layout name="Qingtaoke/default" />
<div class="col-md-offset-1 col-md-10">
    <div class="panel panel-default">
        <div class="panel-heading">
            <h5>实时跑量榜API接口</h5>
        </div>
        <?php if($msg['code'] == 200):?>
        <div id="myAlert" class="alert alert-success">
            <a href="#" class="close" data-dismiss="alert">&times;</a>
            <strong>成功！</strong>共采集 <em>{$msg['p'] * $msg['thiscount']}</em> 条数据,成功添加 <em>{$msg['totalcoll']} 条</em>
        </div>
        <?php endif;?>
        <div class="panel-body">
            <form action="{:U('Dataoke/numLink')}" method="post">
                <div class="form-group">
                    <label for="type">类型:</label> <em>网站专用、仅加入推广的商品</em>
                    <input type="text" name="type" class="form-control" value="<?php echo $type?>" disabled>
                </div>

                <div class="form-group">
                    <label for="appkey">appkey:</label> <em>大淘客appkey</em>
                    <input type="text" name="appkey" class="form-control" value="<?php echo $appkey?>" disabled>
                </div>


                <button type="submit" class="btn btn-primary">开始采集</button>
            </form>
        </div>
    </div>
</div>